package com.chuangshi.core.vote.playervote.controller.admin.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotNull;

/**
 * 投票记录管理端V1修改接收参数
 *
 * @author ggliming
 * @date 2019-02-21
 */
@ApiModel(description = "投票记录管理端V1修改接收参数")
public class PlayerVoteAdminV1UpdateRequest extends Request {

    @ApiModelProperty(value = "投票记录编号", required = true, position = 10)
    @NotNull(message = "投票记录编号不能为空")
    @Length(max = 32, message = "投票记录编号长度超出限制")
    private String playerVoteId;

    @ApiModelProperty(value = "人员编号", required = true, position = 20)
    @NotNull(message = "人员编号不能为空")
    @Length(max = 32, message = "人员编号长度超出限制")
    private String playerId;

    @ApiModelProperty(value = "人员名称", required = true, position = 30)
    @NotNull(message = "人员名称不能为空")
    @Length(max = 100, message = "人员名称长度超出限制")
    private String playerName;

    @ApiModelProperty(value = "会员编号", required = true, position = 40)
    @NotNull(message = "会员编号不能为空")
    @Length(max = 32, message = "会员编号长度超出限制")
    private String memberId;

    @ApiModelProperty(value = "岗位名称", required = true, position = 50)
    @NotNull(message = "岗位名称不能为空")
    @Length(max = 100, message = "岗位名称长度超出限制")
    private String positionName;

    @ApiModelProperty(value = "版本号", required = true, position = 60)
    @NotNull(message = "版本号不能为空")
    @Digits(integer = 11, fraction = 0, message = "版本号长度超出限制")
    private Integer systemVersion;

    public String getPlayerVoteId() {
        return playerVoteId;
    }

    public void setPlayerVoteId(String playerVoteId) {
        this.playerVoteId = playerVoteId;
    }

    public String getPlayerId() {
        return playerId;
    }

    public void setPlayerId(String playerId) {
        this.playerId = playerId;
    }

    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public Integer getSystemVersion() {
        return systemVersion;
    }

    public void setSystemVersion(Integer systemVersion) {
        this.systemVersion = systemVersion;
    }


}